package com.erp.erp_entitys.InspectCargo;

import com.erp.vo.CommonVo;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * 验货商检 查询类
 */
public class InspectCargoVo extends CommonVo {
    /**
     * 验货日期
     */
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date inspectTime;

    /**
     * 验货时间段
     */
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private Date startInspectTime;
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private Date endInspectTime;

    /**
     * 验货阶段
     */
    private String stage;

    /**
     * 审批流id
     */
    private String bpmId;
    /**
     * 审批流状态
     */
    private String bpmStatus;
    /**
     * 出运单号/采购单号
     */
    private String loadPlanNo;
    /**
     * 验货类型
     */
    private String inspectType;
    /**
     * 验货公司
     */
    private String company;
    /**
     * 备注
     */
    private String remark;
    /**
     * 部门操作员
     */
    private String  deptOperationCode;
    /**
     * 部门业务员
     */
    private String  deptSalesmanCode;

    public String getDeptOperationCode() {
        return deptOperationCode;
    }

    public void setDeptOperationCode(String deptOperationCode) {
        this.deptOperationCode = deptOperationCode;
    }

    public String getDeptSalesmanCode() {
        return deptSalesmanCode;
    }

    public void setDeptSalesmanCode(String deptSalesmanCode) {
        this.deptSalesmanCode = deptSalesmanCode;
    }

    public Date getInspectTime() {
        return inspectTime;
    }

    public void setInspectTime(Date inspectTime) {
        this.inspectTime = inspectTime;
    }

    public Date getStartInspectTime() {
        return startInspectTime;
    }

    public void setStartInspectTime(Date startInspectTime) {
        this.startInspectTime = startInspectTime;
    }

    public Date getEndInspectTime() {
        return endInspectTime;
    }

    public void setEndInspectTime(Date endInspectTime) {
        this.endInspectTime = endInspectTime;
    }

    public String getStage() {
        return stage;
    }

    public void setStage(String stage) {
        this.stage = stage;
    }

    public String getBpmId() {
        return bpmId;
    }

    public void setBpmId(String bpmId) {
        this.bpmId = bpmId;
    }

    public String getBpmStatus() {
        return bpmStatus;
    }

    public void setBpmStatus(String bpmStatus) {
        this.bpmStatus = bpmStatus;
    }

    public String getLoadPlanNo() {
        return loadPlanNo;
    }

    public void setLoadPlanNo(String loadPlanNo) {
        this.loadPlanNo = loadPlanNo;
    }

    public String getInspectType() {
        return inspectType;
    }

    public void setInspectType(String inspectType) {
        this.inspectType = inspectType;
    }

    public String getCompany() {
        return company;
    }

    public void setCompany(String company) {
        this.company = company;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("{");
        sb.append(" \"inspectTime\":\"").append(inspectTime).append('\"');
        sb.append(", \"startInspectTime\":\"").append(startInspectTime).append('\"');
        sb.append(", \"endInspectTime\":\"").append(endInspectTime).append('\"');
        sb.append(", \"stage\":\"").append(stage).append('\"');
        sb.append('}');
        return sb.toString();
    }
}
